package com.itheima.train.manager.service;

import com.itheima.train.manager.domain.TbDicRidingPlan;
import com.itheima.train.manager.mapper.TbDicRidingPlanMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TbRidingPlanService {

    @Autowired(required = false)
    private TbDicRidingPlanMapper tbDicRidingPlanMapper ;

    public List<TbDicRidingPlan> findByTrainNum(String trainNum) {
        return tbDicRidingPlanMapper.findByTrainNum(trainNum) ;
    }

}
